package online.heycm.rbac.domain.basic.repository.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * ID生成服务
 *
 * @author heycm
 * @since 2024-01-11
 */
@Data
@TableName("basic_generator_ids")
public class BasicGeneratorIds implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * ID键
     */
    @TableId("id_key")
    private String idKey;

    /**
     * ID当前最大值
     */
    private Long idValue;

    /**
     * ID缓存区大小
     */
    private Integer idStep;

    /**
     * 说明
     */
    private String remark;
}
